import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import ElementPlus from "element-plus"; //引入element-plus库
import "element-plus/dist/index.css"; //引入element-plus样式
import * as ElementPlusIconsVue from "@element-plus/icons-vue"; //  引入图标
import VForm3 from "vform3-builds"; //引入VForm 3库
import "vform3-builds/dist/designer.style.css"; //引入VForm3样式

const app = createApp(App).use(ElementPlus).use(VForm3).use(router)
// 全局引入图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.mount("#app");
